<!doctype html>
<html lang="en">

<head>
	<meta charset="utf-8"/>
	<title>Dashboard I Admin Panel</title>
	
	<link rel="stylesheet" href="<?php echo $this->baseUrl . '/public/' . $this->module; ?>/css/layout.css" type="text/css" media="screen" />
	<!--[if lt IE 9]>
	<link rel="stylesheet" href="<?php echo $this->baseUrl . '/public/' . $this->module; ?>/css/ie.css" type="text/css" media="screen" />
	<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
	<![endif]-->
	<script src="<?php echo $this->baseUrl . '/public/' . $this->module; ?>/js/jquery-1.9.1.min.js" type="text/javascript"></script>
	<script src="<?php echo $this->baseUrl . '/public/' . $this->module; ?>/js/hideshow.js" type="text/javascript"></script>
	<script src="<?php echo $this->baseUrl . '/public/' . $this->module; ?>/js/jquery.tablesorter.min.js" type="text/javascript"></script>
        <script type="text/javascript" src="<?php echo $this->baseUrl; ?>/public/ckeditor/ckeditor.js"></script>
        <script type="text/javascript" src="<?php echo $this->baseUrl; ?>/public/ckeditor/ckfinder/ckfinder.js"></script>
	<script type="text/javascript" src="<?php echo $this->baseUrl . '/public/' . $this->module; ?>/js/jquery.equalHeight.js"></script>
        <script type="text/javascript" src="<?php echo $this->baseUrl . '/public/' . $this->module; ?>/js/main.js"></script>
	<script type="text/javascript">
	
    </script>
    <script type="text/javascript">
    $(function(){
        $('.column').equalHeight();
    });
</script>

</head>


<body>

	<header id="header">
		<hgroup>
			<h1 class="site_title"><a href="index.html">Website Admin</a></h1>
			<h2 class="section_title">Dashboard</h2><div class="btn_view_site"><a href="<?php echo $this->baseUrl;?>">View Site</a></div>
		</hgroup>
	</header> <!-- end of header bar -->
	
	<section id="secondary_bar">
		<div class="user">
			<p>Hello <?php echo $this->user?></p>
                        
			<a class="logout_user" href="<?php echo $this->baseUrl;?>/admin/auth/logout" title="Logout">Logout</a>
		</div>
		<div class="breadcrumbs_container">
			<article class="breadcrumbs">
                            <a href="index.html">Website Admin</a><div class="breadcrumb_divider"></div> 
                            <a class="current">Dashboard</a>
                           <?php if(isset($this->group)){
                                echo  "<div class='breadcrumb_divider'></div> <a class='current'>".$this->group."</a>";
                            }
                            if(isset($this->group_action))
                                {
                                echo  "<div class='breadcrumb_divider'></div> <a class='current'>".$this->group_action."</a>";
                            }
                            
?>
                        </article>
		</div>
	</section><!-- end of secondary bar -->
	
	<aside id="sidebar" class="column">
		<form class="quick_search">
			<input type="text" value="Quick Search" onfocus="if(!this._haschanged){this.value='';}this._haschanged=true;">
		</form>
		<hr/>
		<h3>Content</h3>
		<ul class="toggle">
                        <li class="icn_categories"><a href="<?php echo $this->baseUrl."/".$this->module ?>/news/index">All Articles</a></li>
			<li class="icn_new_article"><a href="<?php echo $this->baseUrl."/".$this->module ?>/news/add">New Article</a></li>
			<li class="icn_categories"><a href="<?php echo $this->baseUrl."/".$this->module ?>/category/index">All Categories</a></li>
                        <li class="icn_new_article"><a href="<?php echo $this->baseUrl."/".$this->module ?>/category/add">New Category</a></li>
			<li class="icn_tags"><a href="#">Tags</a></li>
		</ul>
                <h3 >Hospital</h3>
                <ul class="toggle">
			<li class="icn_new_article"><a href="<?php echo $this->baseUrl."/".$this->module ?>/hospital-detail/add">New Hospital</a></li>
			<li class="icn_edit_article"><a href="<?php echo $this->baseUrl."/".$this->module ?>/hospital-detail/index">All Hospital</a></li>

		</ul>
		<h3 >Users</h3>
		<ul class="toggle">
			<li class="icn_add_user"><a href="#">Add New User</a></li>
			<li class="icn_view_users"><a href="#">View Users</a></li>
			<li class="icn_profile"><a href="#">Your Profile</a></li>
		</ul>
		<h3 class="toggleLink">Media</h3>
		<ul class="toggle">
			<li class="icn_folder"><a href="#">File Manager</a></li>
			<li class="icn_photo"><a href="#">Gallery</a></li>
			<li class="icn_audio"><a href="#">Audio</a></li>
			<li class="icn_video"><a href="#">Video</a></li>
		</ul>
		<h3>Admin</h3>
		<ul class="toggle">
			<li class="icn_settings"><a href="<?php echo $this->baseUrl."/".$this->module ?>/account/index">Account Management</a></li>
			<li class="icn_security"><a href="<?php echo $this->baseUrl."/".$this->module ?>/account/add">Add New Account</a></li>
			<li class="icn_jump_back"><a href="#">Logout</a></li>
		</ul>
		
		<footer>
			<hr />
			<p><strong>ZINZIN</strong></p>
			
		</footer>
	</aside><!-- end of sidebar -->
	
	<section id="main" class="column">
		
		
		
		<article class="module width_full">
			<header>
                            <h3>
                               <?php $title = $this->title;
                                       if(isset($title))
                                           echo $title;
                                       else
                                           echo "Welcome"
                               ?>
                            </h3>
                        </header>
			<div class="module_content">
                            <?php echo $this->layout()->content; ?>
				
				<div class="clear"></div>
			</div>
		</article><!-- end of stats article -->
		
		
		<div class="spacer"></div>
	</section>


</body>

</html>

